/* 教程样式 */

::v-deep .online {
  height: 100%;
}

.online_Tutorial {
  height: 100%;
  overflow-y: auto;
}

.test {
  height: 100%;
  background-color: #ffffff;
  margin: 0 auto;
}

.header {
  width: 100%;
  padding-left: 12px;
  box-sizing: border-box;
  height: 60px;
  line-height: 60px;
  background-color: #4d4c4d;

  p {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
  }
}

.centertitle {
  width: 100%;
  box-sizing: border-box;
  padding-left: 12px;
  height: 26px;
  line-height: 26px;
  background-color: #8cc63f;

  p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
  }
}

/* main主体区域 */
.main {
  display: flex;
  height: calc(100% - 60px - 26px - 64px);
  justify-content: space-between;
}

.main_left {
  width: 170px;
  height: 90%;
  overflow-y: auto;

  // 滚动条样式
  &::-webkit-scrollbar {
    width: 10px;
  }
  // 滚动槽
  &::-webkit-scrollbar-track {
    margin-top: 10px;
    border-radius: 10px;
    background: #f2f2f2;
  }
  // 滚动滑块
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b4bbc5;
  }
}

.btns {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;

  .el-button {
    position: relative;
    width: 110px;
    height: 26px;
    background-color: #8cc63f;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    border: 0;
    outline: none;
    margin-bottom: 5px;
    margin-left: 0px;
  }

  .el-button::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: -10px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 12px solid transparent;
  }

  .active::after {
    border-left-color: #8cc63f !important;
  }

  .answered {
    background-color: #4d4c4d !important;
  }
  .answered::after {
    border-left-color: #4d4c4d !important;
  }
  .answered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 12px solid #ffffff;
    border-right: 12px solid transparent;
    background: #bac4cb;
    display: block;
    width: 0;
    height: 0;
  }
}

.rightbor {
  width: calc(100% - 100px);
  padding: 6px;
}

.main_right {
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  border: 1px solid #9ea7ac;
  border-radius: 6px;
  margin-right: 10px;
  box-sizing: border-box;
  overflow-y: auto;

  h5:first-child {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 40px;
  }

  p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
}

.top_cont {
  padding: 10px;
  background: rgb(245, 247, 248);

  h5 {
    margin: 0 !important;
    padding-bottom: 30px;
  }

  p:nth-child(4) {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: bold;
    width: 80%;
    padding-bottom: 20px;
  }
}
.Questions {
  .exa_act {
    border-color: #f1d176 !important;
    div {
      background: #f1d176;
    }
  }

  .example {
    display: flex;
    align-items: center;
    margin-top: 20px;

    .out:hover {
      border-color: #f1d176;
    }
    .out {
      width: 90%;
      height: 50px;
      border: 3px solid #3d505a;

      div {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
        margin: 2px 0 0 2px;
        line-height: 42px;
        text-indent: 10px;
        cursor: pointer;
        font-size: 14px;
      }
    }

    span {
      margin-right: 10px;
    }
  }
}
.set_02 {
  h5:last-child {
    font-size: 16px;
    font-weight: bold;
    padding-top: 50px;
  }

  p:nth-child(2) {
    span {
      font-size: 16px;
      font-weight: bold;
    }
  }

  ul {
    list-style-type: disc;
    padding-left: 20px;

    li {
      font-size: 15px;
      font-family: 'Microsoft Yahei';
    }
  }
}

/* footer 底部区域 */
.footer {
  width: 100%;
  height: 60px;
  background-color: #3d505a;
  border-top: 4px solid #8cc63f;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  padding-right: 20px;

  .el-button--success:hover {
    opacity: 0.6;
  }

  .el-button {
    background-color: #8cc63f;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;

    ::v-deep i {
      font-size: 18px;
      font-weight: bold;
      vertical-align: middle;
    }
  }
}

.tbody_t {
  div {
    display: flex;
    align-items: center;
  }

  p {
    width: 407px;
    max-width: 407px;
    font-size: 14px;
  }

  img {
    font-size: 14px;
    width: 55px;
    max-width: 52px;
    display: block;
    margin-bottom: 5px;
  }

  h5 {
    font-size: 16px;
    font-weight: bold;
    padding: 50px 0px;
  }
}

.Essay {
  p:nth-child(4) {
    font-weight: bold;
    width: 80%;
    padding-bottom: 20px;
  }
}

.editor_box {
  height: 500px;
  padding: 30px 0 50px;

  .editor {
    height: 90%;
  }
}

.Remaining {
  p:nth-child(5) {
    width: 90%;
    height: 100px;
    border: 1px solid rgb(51, 51, 51);
    padding: 10px;
    box-sizing: border-box;
  }

  h5:last-child {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
}
